﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using Timesheet.Data.Infrastructure;
using Timesheet.Data.Repository;
using Timesheet.Domain;

namespace Timesheet.Data.Repository
{
    public class PrjReferencesRepository:Repository<PrjReferences> ,IPrjReferencesRepository
    {
        public PrjReferencesRepository(IUnitOfWork unit)
            : base(unit)
        {
        }
        #region IPrjReferencesRepository Members

        public IList<PrjReferences> GetPrjReferences(string type)
        {
            return DbSet.Where(x => x.Type == type).ToList();
        }
        #endregion      
    }
}
